import { NgModule } from '@angular/core';
import { HttpModule }    from '@angular/http';
import { BrowserModule } from  '@angular/platform-browser';

/* Common Module */
import { CommonModule } from '../common/common.module';

/* Game Component */
import { myProjectComponent } from './myProject.component';

/* Game Service */
import { myProjectService } from '../../service/myProject.service';

@NgModule({
    imports: [
        HttpModule,
        BrowserModule,
        CommonModule
    ],
    providers: [
        myProjectService
    ],
    declarations: [
        myProjectComponent // 主组件
    ],
    exports: [ myProjectComponent ]
})
export class myProjectModule {

    constructor() {
        console.log('Module: "Game" Loading completed');
    }


}